import React, { Component } from 'react';
import { messages } from "share/common";
import { Button } from "antd";
import menuRoute from "routes/menuRoute";
import 'styles/financial-management/innvoice-bag-approve/components/bag-audit-more.scss'

class BagAuditMore extends Component {

  handleGun = () => {
    this.context.router.push(menuRoute.getRouteItem('scan-gun-audit-bag').url)
  };

  render() {
    return (
      <div className="bag-audit-more">
        <Button onClick={this.handleGun}>
          {messages('expense-15.key1')/*扫码枪审核*/}
        </Button>
      </div>
    )
  }
}

BagAuditMore.contextTypes = {
  router: React.PropTypes.object
};

export default BagAuditMore;
